package com.cssl.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cssl.dao.PublishedDao;
import com.cssl.pojo.Published;
import com.cssl.service.PublishedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PublishedServiceImpl extends ServiceImpl<PublishedDao, Published>
    implements PublishedService {

    @Autowired
    private PublishedDao pdao;

    @Override
    public Published selpname(int pid) {
        return pdao.selpname(pid);
    }
}
